package com.zzw.service;

import com.zzw.bean.OrderFormVo;

import java.util.ArrayList;

/**
 * Created by 张志伟 on 2017/11/22.
 */
public interface IOrderFormService {

    ArrayList<OrderFormVo> getOrderFormByUid(Integer uid);

    ArrayList<OrderFormVo> getShoppingCartByUid(Integer uid);

    int payOrderFormByOid(Integer oid);

    int payOrderFormByOidList(ArrayList<Integer> oidList);

    int payShoppingCartByUid(Integer uid);

    int addOrderFormByOrderForm(Integer cid, Integer uid, Integer ispay);

    int deleteOrderFormByOid(Integer oid);

    int deleteOrderFormByOidList(ArrayList<Integer> oidList);
}
